package dao

import "gorm.io/gorm"

func InitTable(db *gorm.DB) error {
	return db.AutoMigrate(
		&UserMode{},
		&ArticleMode{},
		&PublishArticleModels{},
		&InteractiveModel{},
		&UserLikeBizModel{},
		&CollectionModle{},
		&UserCollectBizModel{},
	)
}
